02 - Touch Pin
Overview
The touch pins 1 and 2 of the Grape Board are two IO ports with Digital, Analog and PWM functions, which support connecting external modules for use and can be connected through alligator clips to DuPont wires<br />
It is usually used as a touch pin during normal times, and can be touched directly, or touched after being connected through conductive adhesive tape<br />
How to use it
Coding Blocks
Coding Block | Functionality |
---|---|
Returns True when the pin is pressed, False otherwise Can change the touch object using the dropdown menu |
Case: Smart Touch Desk Lamp
Effect: Control the RGB lights on and off by touching P1 and P2
Program blocks
dangerSolution to Unresponsive or Insensitive Touch
Reason: Touch may be insensitive due to dry skin or environmental factors
Solution: When touching, use the other hand to touch the negative terminal of the grape board to connect the two :::